package com.jams.goodox.entity;

import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by Jin on 2016/5/17.
 * Description 积分记录
 */
public class PointRecord extends BaseEntity {
    /**
     * pageInfo : {"curPage":1,"pageSize":20,"hasMore":true}
     * resultList : [{"remark":"兑换商品移动电源3份","redeemId":"11b0fe7e-2328-11e6-ae5e-00163e005381","type":1,"intime":"2016-05-26 17:56:08","intNum":3},{"remark":"兑换商品移动电源2份","redeemId":"0e51742c-2328-11e6-ae5e-00163e005381","type":1,"intime":"2016-05-26 17:56:02","intNum":2},{"remark":"兑换商品移动电源2份","redeemId":"0b65d3eb-2328-11e6-ae5e-00163e005381","type":1,"intime":"2016-05-26 17:55:57","intNum":2},{"remark":"兑换商品移动电源1份","redeemId":"04960682-2328-11e6-ae5e-00163e005381","type":1,"intime":"2016-05-26 17:55:46","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"01fde204-2328-11e6-ae5e-00163e005381","type":1,"intime":"2016-05-26 17:55:42","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"ff7e80ef-2327-11e6-ae5e-00163e005381","type":1,"intime":"2016-05-26 17:55:37","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"fd204ece-2327-11e6-ae5e-00163e005381","type":1,"intime":"2016-05-26 17:55:33","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"f07ee1d7-2327-11e6-ae5e-00163e005381","type":1,"intime":"2016-05-26 17:55:12","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"ee0de905-2327-11e6-ae5e-00163e005381","type":1,"intime":"2016-05-26 17:55:08","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"ea9aa130-2327-11e6-ae5e-00163e005381","type":1,"intime":"2016-05-26 17:55:02","intNum":1},{"remark":"兑换商品移动电源2份","redeemId":"8adf781c-20c2-11e6-a6e1-00163e005381","type":1,"intime":"2016-05-23 16:44:20","intNum":2},{"remark":"兑换商品移动电源1份","redeemId":"11dc0f7c-20c2-11e6-a6e1-00163e005381","type":1,"intime":"2016-05-23 16:40:57","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"cde9fc24-20c1-11e6-a6e1-00163e005381","type":1,"intime":"2016-05-23 16:39:03","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"289be4a7-20c1-11e6-a6e1-00163e005381","type":1,"intime":"2016-05-23 16:34:26","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"d33472a4-20c0-11e6-a6e1-00163e005381","type":1,"intime":"2016-05-23 16:32:03","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"93511001-20c0-11e6-a6e1-00163e005381","type":1,"intime":"2016-05-23 16:30:15","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"3cdeca59-20bf-11e6-a6e1-00163e005381","type":1,"intime":"2016-05-23 16:20:41","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"fa67a6fe-20be-11e6-a6e1-00163e005381","type":1,"intime":"2016-05-23 16:18:49","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"c7ef5160-20be-11e6-a6e1-00163e005381","type":1,"intime":"2016-05-23 16:17:25","intNum":1},{"remark":"兑换商品移动电源1份","redeemId":"0023e241-20be-11e6-a6e1-00163e005381","type":1,"intime":"2016-05-23 16:11:49","intNum":1}]
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * curPage : 1
         * pageSize : 20
         * hasMore : true
         */

        private PageInfoBean pageInfo;
        /**
         * remark : 兑换商品移动电源3份
         * redeemId : 11b0fe7e-2328-11e6-ae5e-00163e005381
         * type : 1
         * intime : 2016-05-26 17:56:08
         * intNum : 3
         */

        private List<ResultListBean> resultList;

        public PageInfoBean getPageInfo() {
            return pageInfo;
        }

        public void setPageInfo(PageInfoBean pageInfo) {
            this.pageInfo = pageInfo;
        }

        public List<ResultListBean> getResultList() {
            return resultList;
        }

        public void setResultList(List<ResultListBean> resultList) {
            this.resultList = resultList;
        }

        public static class PageInfoBean {
            private int curPage;
            private int pageSize;
            private boolean hasMore;

            public int getCurPage() {
                return curPage;
            }

            public void setCurPage(int curPage) {
                this.curPage = curPage;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public boolean isHasMore() {
                return hasMore;
            }

            public void setHasMore(boolean hasMore) {
                this.hasMore = hasMore;
            }
        }

        public static class ResultListBean {
            private String remark;//积分获取、使用说明
            private String redeemId;
            private int type;//	类型。0获得的积分。1使用的积分
            private String intime;
            private int intNum;//积分数

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getRedeemId() {
                return redeemId;
            }

            public void setRedeemId(String redeemId) {
                this.redeemId = redeemId;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getIntime() {
                return intime;
            }

            public void setIntime(String intime) {
                this.intime = intime;
            }

            public int getIntNum() {
                return intNum;
            }

            public void setIntNum(int intNum) {
                this.intNum = intNum;
            }
        }
    }
}
